Istatic = double(Imread('images/lenag3.png'));
%IregAFbuildin = double(imread('images/result_AFbuildinDemons.png'));
%IregDemonswithAF = double(imread('images/result_DemonswithAF.png'));
IregAFbuildin = double(imread('result_AFbuildin2.png'));
IregDemonswithAF = double(imread('result_DemonswithAF.png'));
%IregDemons = double(imread('images/result_standardDemonsbox.png'));

sval1 = sum(sum((IregAFbuildin - Istatic).^2))
sval2 = sum(sum((IregDemonswithAF - Istatic).^2))
%sval3 = sum(sum((IregDemons - Istatic).^2))

